package com.yanfan.energy.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author huan
 * @Description BatchSegmentation 生产记录请求
 * @ClassName 2023年01月10日 10:43:00
 * @Version 1.0
 **/
public class BatchSegmentationRequest {


    /**
     * 主键
     */
    private Long id;
    /**
     * 批次ID
     */
    private Long batchId;
    /**
     * 车间编号
     */
    private Long workshopId;
    /**
     * 厂区编号
     */
    private Long factoryId;
    /**
     * 批次编号
     */
    private String batchNumber;

    /**
     * 批次名称
     */
    private String batchName;

    /**
     * 生产数量
     */
    private String productionDuration;

    /**
     * 分段ID 分段编号
     */
    private String segmentNumber;

    private String segmentName;

    /**
     * 长度
     */
    private Double segmentLength;
    /**
     * 重量
     */
    private Double segmentWeight;
    /**
     * 面积
     */
    private Double segmentArea;
    /**
     * 规格
     */
    private String specification;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 工艺编号
     */
    private String craftNumber;
    /**
     * 工艺名称
     */
    private String craftName;
    /**
     * 生产编号
     */
    private Long productionNumbe;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModifiedDate;


    private Boolean mobileFlag;


    /**
     * 当前页
     */
    private int currPage;
    /**
     * 当前条数
     */
    private int pageSize;


    /**
     * 订单编号
     */
    private String orderNumber;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishDate;


    private Integer state;

    private String stateName;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public Long getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Long workshopId) {
        this.workshopId = workshopId;
    }

    public Long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }


    public String getSegmentNumber() {
        return segmentNumber;
    }

    public void setSegmentNumber(String segmentNumber) {
        this.segmentNumber = segmentNumber;
    }

    public String getProductionDuration() {
        return productionDuration;
    }

    public void setProductionDuration(String productionDuration) {
        this.productionDuration = productionDuration;
    }

    public Double getSegmentLength() {
        return segmentLength;
    }

    public void setSegmentLength(Double segmentLength) {
        this.segmentLength = segmentLength;
    }

    public Double getSegmentWeight() {
        return segmentWeight;
    }

    public void setSegmentWeight(Double segmentWeight) {
        this.segmentWeight = segmentWeight;
    }

    public Double getSegmentArea() {
        return segmentArea;
    }

    public void setSegmentArea(Double segmentArea) {
        this.segmentArea = segmentArea;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCraftNumber() {
        return craftNumber;
    }

    public void setCraftNumber(String craftNumber) {
        this.craftNumber = craftNumber;
    }

    public String getCraftName() {
        return craftName;
    }

    public void setCraftName(String craftName) {
        this.craftName = craftName;
    }

    public Long getProductionNumbe() {
        return productionNumbe;
    }

    public void setProductionNumbe(Long productionNumbe) {
        this.productionNumbe = productionNumbe;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public int getCurrPage() {
        return currPage;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Date getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }

    public String getSegmentName() {
        return segmentName;
    }

    public void setSegmentName(String segmentName) {
        this.segmentName = segmentName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public Boolean getMobileFlag() {
        return mobileFlag;
    }

    public void setMobileFlag(Boolean mobileFlag) {
        this.mobileFlag = mobileFlag;
    }
}
